package com.flyco.modules.pms.mapper;

import java.util.List;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.flyco.modules.pms.entity.PmsProductPics;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * @Description: 商品图片
 * @Author: flyco
 * @Date:   2019-12-03
 * @Version: V1.0
 */
@Repository
public interface PmsProductPicsMapper extends BaseMapper<PmsProductPics> {

	public boolean deleteByMainId(Long mainId);
    
	public List<PmsProductPics> selectByMainId(Long mainId);
	@SqlParser(filter = true)
	public List<PmsProductPics> selectByMainIds(List<Long> mainIds);
}
